package com.youi.mapper;

import com.youi.entity.Building;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @version 1.0
 * @Author: xxf
 * @CreateDate: 2020/10/29 21:11
 */
public interface BuildingMapper {
    /**
     * 查询所有
     * @return
     */
    List<Building> selectAll();

    /**
     * 添加单个楼栋信息
     * @param building
     * @return
     */
    int insert(@Param("building") Building building);
}
